<template>
  <div id="app">
      <router-view />
  </div>
</template>

<script>
import layout from './components/layout.vue'
import config from './scripts/config.js'
export default {
  name: 'app',
  data () {
    return {
      
    }
  },
  created(){
    config.app = this;
    config.store = this.$store;
    config.router = this.$router;
    config.http = this.$$http;
    config.emitter = this.$emitter;
  }
}
</script>

<style lang="scss">
@import url('/src/assets/element-ui/index.css');
@import url('/src/assets/css/app.css');
@import url('/src/assets/css/font-awesome.min.css');
</style>
